package io.github.frailty9.crserver.utils

import cn.dev33.satoken.stp.SaTokenInfo

fun SaTokenInfo.toDto(): Map<String, Any> {
    val loginResult = mutableMapOf<String, Any>()
    loginResult["satoken"] = this.tokenValue
    return loginResult
}